// /**
// //  * Magento
//  *
//  * NOTICE OF LICENSE
//  *
//  * This source file is subject to the Academic Free License (AFL 3.0)
//  * that is bundled with this package in the file LICENSE_AFL.txt.
//  * It is also available through the world-wide-web at this URL:
//  * http://opensource.org/licenses/afl-3.0.php
//  * If you did not receive a copy of the license and are unable to
//  * obtain it through the world-wide-web, please send an email
//  * to license@magentocommerce.com so we can send you a copy immediately.
//  *
//  * DISCLAIMER
//  *
//  * Do not edit or add to this file if you wish to upgrade Magento to newer
//  * versions in the future. If you wish to customize Magento for your
//  * needs please refer to http://www.magentocommerce.com for more information.
//  *
//  * @category    design
//  * @copyright   Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
//  * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
//  */

.bundle-actions {
    &:extend(.abstract-box-tocart all);
    .action.primary {
        &:extend(.abstract-button-l all);
    }
}

.bundle-options-container {
    clear: both;
    margin-bottom: @indent-xl-base;

    .legend.title {
        .heading(h2);
    }

    .product-add-form {
        display: none;
    }

    .input-text.qty {
        &:extend(.abstract-input-qty all);
    }

    .product-options-wrapper {
        margin-bottom: @indent-l-base;
    }

    .product-options-bottom {
        clear: both;
    }

    .price-box {
        .price {
            font-weight: @font-weight-bold;
            font-size: @font-size-l;
        }
    }

    .price-notice {
        &:extend(.abstract-adjustment-incl-excl-tax all);
    }

    .block-bundle-summary {
        padding: @indent-s-base @indent-base;
        background: @color-secondary;
        &:extend(.abstract-add-box-sizing all);

        > .title > strong {
            .heading(h2);
        }

        .bundle-summary {
            margin-top: @indent-l-base;
            &.empty {
                display: none;
            }
            > .subtitle {
                .heading(h3);
                display: block;
            }
        }

        .bundle.items {
            &:extend(.abstract-reset-list all);
            > li {
                margin-bottom: @indent-s-base;
            }
        }

        .box-tocart {
            .actions {
                margin-bottom: @indent-s-base;
            }
            .action.primary {
                &:extend(.abstract-button-l all);
            }
        }
        .product-addto-links {
            > .action {
                &:extend(.abstract-action-addto-product all);
                vertical-align: top;
            }
        }
    }
    p.required {
        color: @form-field-label-asterisk-color;
    }
}

//
//    Desktop
//--------------------------------------
.responsive(@break) when (@break = @screen-m) {
    .bundle-options-container {
        .legend.title {
            &:extend(.abstract-reset-left-margin all);
        }
        .product-options-wrapper {
            float: left;
            width: 57%;
        }
        .product-options-bottom {
            width: 57%;
        }
        .block-bundle-summary {
            float: right;
            width: 40%;
            position: relative;
        }
        .product-options-wrapper,
        .product-options-bottom,
        .block-bundle-summary {
            .page-layout-2columns-left &,
            .page-layout-2columns-right &,
            .page-layout-3columns & {
                width: 48%;
            }
        }
    }
}
